DTERM
Section: User Commands (1)
Index
Return to Main Contents
NAME
dterm - ditroff output interpreter for terminals
SYNOPSIS
dterm
[
options
]
. . .
[
file
]
DESCRIPTION
Dterm
interprets its
input (standard input default)
as output from
ditroff(I)
and sends its output to standard out.
Dterm
is intended as a
very
rough previewer for seeing how a paper will be layed out.
Input processed for any typesetter is mapped into a terminal's
resolution to place characters approximately where they would
appear on the final output device. This is
not
meant to be readable (except with the
-a
option, see below), and some characters will be missing.
Typical usage:
-
ditroff -t file | dterm
or
ditroff -P`dev' -t file > intermediate
dterm intermediate
At the end of each page
dterm
prompts the user and waits for a newline (empty line) from the keyboard before
continuing on to the next page.
In this wait state,
dterm
accepts a few commands. Enter
?
to print the list of available commands.
The command line options are:
- -c
-
Don't wait between pages; for directing output to
more
or into a file.
- -olist
-
prints only the pages enumerated in
list.
The list consists of pages and page ranges (e.g., 5-17)
separated by commas.
The range
n-
goes from
n
to the end;
the range
-n
goes from the beginning to and including
page
n.
- -hn
-
Set the horizontal resolution (in characters per inch) to
n;
default is 10.0.
- -vn
-
Set the vertical resolution (in lines per inch) to
n;
default is 6.0.
- -ln
-
Set the maximum line length (in characters) to
n;
default is 79.
- -m
-
Allow printing of margins (default action is for dterm
to print out only enough to show what's on the page). -m
forces printing a page from the upper-left corner.
- -a
-
force text to come out in a readable form (meant to look
something like ``ditroff -a''). This usually pushes the text
farther right than it was meant to go. It also does not prevent
lines of text from a coming out on top of each other.
- -L
-
Put a form feed (^L) at the end of each page.
- -w
-
Equivalent to ``-c -L -h20 -v12 -l131'' to format for extra-large
printouts on a line-printer.
- -fs
-
Get special character file (see below) from
s
instead of the default /usr/lib/font/devter/specfile.
The ``specfile'' is a file of special character translations that
map troff special character names to strings to print on a terminal.
Each line in the file consists of two strings separated by a space.
The first string is the special character name in troff and the second
is what to print on the terminal. Special characters NOT in this
file will not print anything.
SEE ALSO
ditroff(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 22:49:21 GMT, December 11, 2024